﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Uinside.CreditSystem.DomainModels.Models;

namespace Uinside.CreditSystem.Services
{
    public class BankAccountStatusService : BaseService
    {
        public BankAccountStatusService(CreditContext dbContext)
            : base(dbContext)
        {
        }

        public IEnumerable<Setting> GetAll()
        {
            var banks = this._creditContext.Settings.Where(i => i.Type == 2);
            return banks;
        }
    }
}
